import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;

public class VendingMachineItemTest {
	VendingMachineItem test1;

	@Before
	public void setUp() throws Exception {
		test1 = new VendingMachineItem("juice",1.00);
	}

	@Test
	public void testgetName()
	{
		assertEquals("juice", test1.getName());// test get the name
	}
	
	@Test
	public void testgetPrice()
	{
		assertEquals( 1, 1,test1.getPrice());// test get the price
	}

}
	
